home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / gtkmm-2.4 / proc / m4 / convert_atk.m4 next >
Text File  |  2006-04-20  |  2KB  |  48 lines

  1. include(convert_glib.m4)
  2.  
  3. _EQUAL(State,AtkState)
  4.  
  5. _CONV_ENUM(Atk,Role)
  6. _CONV_ENUM(Atk,Layer)
  7. _CONV_ENUM(Atk,RelationType)
  8. _CONV_ENUM(Atk,StateType)
  9. _CONV_ENUM(Atk,CoordType)
  10. _CONV_ENUM(Atk,TextBoundary)
  11. _CONV_ENUM(Atk,TextClipType)
  12.  
  13.  
  14. _CONVERSION(`AtkObject*',`Glib::RefPtr<Atk::Object>',Glib::wrap($3))
  15. _CONVERSION(`AtkObject*',`Glib::RefPtr<Object>',Glib::wrap($3))
  16. _CONVERSION(`AtkObject*',`Glib::RefPtr<Atk::Object>',Glib::wrap($3))
  17. _CONVERSION(`AtkObject*',`Glib::RefPtr<const Object>',Glib::wrap($3))
  18. _CONVERSION(`AtkObject*',`Glib::RefPtr<const Atk::Object>',Glib::wrap($3))
  19. _CONVERSION(`AtkObject*',`const Glib::RefPtr<Atk::Object>&',`Glib::wrap($3, true)')
  20. _CONVERSION(`const Glib::RefPtr<Object>&',`AtkObject*',`Glib::unwrap($3)')
  21. _CONVERSION(`const Glib::RefPtr<Atk::Object>&',`AtkObject*',`Glib::unwrap($3)')
  22. _CONVERSION(`Glib::RefPtr<Atk::Object>',`AtkObject*',`Glib::unwrap($3)')
  23. _CONVERSION(`Glib::RefPtr<Object>',`AtkObject*',`Glib::unwrap($3)')
  24. _CONVERSION(`AtkRelationSet*',`Glib::RefPtr<RelationSet>',Glib::wrap($3))
  25. _CONVERSION(`const Glib::RefPtr<Relation>&',`AtkRelation*',`Glib::unwrap($3)')
  26. _CONVERSION(`AtkRelation*',`Glib::RefPtr<Relation>',Glib::wrap($3))
  27. _CONVERSION(`AtkStateSet*',`Glib::RefPtr<StateSet>',Glib::wrap($3))
  28. _CONVERSION(`const Glib::RefPtr<StateSet>&',`AtkStateSet*',`Glib::unwrap($3)')
  29.  
  30. _CONVERSION(`AtkGObjectAccessible*',`Glib::RefPtr<ObjectAccessible>',Glib::wrap($3))
  31. _CONVERSION(`AtkGObjectAccessible*',`Glib::RefPtr<const ObjectAccessible>',Glib::wrap($3))
  32.  
  33. _CONVERSION(`AtkHyperlink*',`Glib::RefPtr<Hyperlink>',Glib::wrap($3))
  34. _CONVERSION(`AtkHyperlink*',`Glib::RefPtr<const Hyperlink>',Glib::wrap($3))
  35.  
  36. _CONVERSION(`AtkAttributeSet*', `AttributeSet', `AttributeSet($3, Glib::OWNERSHIP_DEEP)')
  37. _CONVERSION(`const AttributeSet&', `AtkAttributeSet*', `($3).data()')
  38.  
  39. _CONVERSION(`GIOChannel*',`Glib::RefPtr<Glib::IOChannel>',Glib::wrap($3))
  40.  
  41. _CONVERSION(`Rectangle&', `AtkTextRectangle*', `&($3)')
  42. _CONVERSION(`const Rectangle&', `AtkTextRectangle*', `const_cast<AtkTextRectangle*>(&($3))')
  43.  
  44. # For signals:
  45. _CONVERSION(`Glib::RefPtr<Hyperlink>',`AtkHyperlink*',`Glib::unwrap($3)')
  46.  
  47.  
  48.